package cn.chenxiejia;

import java.util.Arrays;
import java.util.Random;

/**
 * @version : V1.0
 * @program: maven
 * @ClassName: Task3
 * @Description:
 * @Author: chenxiejia
 * @Date: 2022/2/11 15:05
 */
public class Task3 {
    public static void main(String[] args) {
        int[] i = new int[10];
        Random rand = new Random();
        for (int j = 0; j < 10; j++) {
            i[j] = rand.nextInt(1, 101);
        }
        Arrays.sort(i);
        for (int i1 : i) {
            System.out.println(i1);
        }
    }
}
